package com.ssy.jt808.gateway.sdk.terminal.pojo.info.alarm;

import com.ssy.jt808.gateway.sdk.terminal.constant.location.LocationAlarmEnum;
import com.ssy.jt808.gateway.sdk.terminal.constant.location.addition.InOutAreaDirectionEnum;
import com.ssy.jt808.gateway.sdk.terminal.constant.location.addition.InOutAreaEnum;
import lombok.Data;

/**
 * 0x12 进出区域/路线报警
 *
 * @author wangzezhou
 */
@Data
public class InOutAreaAlarmInfo extends LocationAlarmInfo{

  public InOutAreaAlarmInfo( LocationAlarmEnum type ){
    super(type);
  }

  /** 位置 ID。 */
  private int areaId;

  /** 位置类型 */
  private InOutAreaEnum areaType;

  /** 方向 0: 进; 1:出 */
  private InOutAreaDirectionEnum direction;
}
